package cn.edu.tju.elm.dto;

import java.math.BigDecimal;

public class FoodDto {
    
    private Long id; // 添加ID字段，用于更新操作
    private String foodName;
    private String foodExplain;
    private String foodImg;
    private BigDecimal foodPrice;
    private BusinessIdDto business;
    private String remarks; // 添加remarks字段

    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }

    public String getFoodName() {
        return foodName;
    }
    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }
    
    public String getFoodExplain() {
        return foodExplain;
    }
    public void setFoodExplain(String foodExplain) {
        this.foodExplain = foodExplain;
    }
    
    public String getFoodImg() {
        return foodImg;
    }
    public void setFoodImg(String foodImg) {
        this.foodImg = foodImg;
    }
    
    public BigDecimal getFoodPrice() {
        return foodPrice;
    }
    public void setFoodPrice(BigDecimal foodPrice) {
        this.foodPrice = foodPrice;
    }
    public BusinessIdDto getBusiness() {
        return business;
    }
    public void setBusiness(BusinessIdDto business) {
        this.business = business;
    }

    public String getRemarks() {
        return remarks;
    }
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public static class BusinessIdDto {
        private Long id;

        public Long getId() {
            return id;
        }
        public void setId(Long id) {
            this.id = id;
        }
    }
}
